package net.suncaper.demo.service;

import net.suncaper.demo.domain.Employee;
import net.suncaper.demo.domain.SearchEmployeeRequest;

import java.util.List;

public interface EmployeeService {
    List<Employee> listEmployee();

    int deleteEmployeeByPrimaryKey(String id);

    Employee findEmployeeByPrimaryKey(String id);

    List<Employee> searchEmployees(SearchEmployeeRequest request);

    int saveEmployee(Employee employee);
}
